import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SGuildWarScore
    
    export  class SGuildWarScore extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SGuildWarScore();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.battleMark);
            arg1.writeInt(this.merits);
            arg1.writeInt(this.killPlayerNum);
            arg1.writeInt(this.killBossNum);
            arg1.writeInt(this.assistNum);
            arg1.writeInt(this.leftReviveTimes);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.battleMark = arg1.readInt();
            this.merits = arg1.readInt();
            this.killPlayerNum = arg1.readInt();
            this.killBossNum = arg1.readInt();
            this.assistNum = arg1.readInt();
            this.leftReviveTimes = arg1.readInt();
            return;
        }

        public /* const */_type: int=151;

        public /* var */battleMark: int;

        public /* var */merits: int;

        public /* var */killPlayerNum: int;

        public /* var */killBossNum: int;

        public /* var */assistNum: int;

        public /* var */leftReviveTimes: int;

        public static /* var */_regist: SGuildWarScore;
    }

            SGuildWarScore._regist = new SGuildWarScore(true);
        